const listRoutes = {
  path: 'manage_list',
  name: 'ManageList',
  component: () => import('@/views/goods/index.vue'),
  meta: {
    title: '商品列表'
  },
  redirect: '/goods/manage_list/goods_list',
  children: [
    {
      path: 'goods_list',
      name: 'GoodsList',
      component: () => import('@/views/goods/goods-list/goods-list.vue'),
      meta: { title: '商品列表', noCache: false }
    },
    {
      path: 'add_goods',
      name: 'GoodsMangeAdd',
      hidden: true,
      component: () => import('@/views/goods/goods-list/add-goods.vue'),
      meta: { title: '新增商品', noCache: true }
    },
    {
      path: 'edit_goods',
      name: 'GoodsMangeEdit',
      hidden: true,
      component: () => import('@/views/goods/goods-list/add-goods.vue'),
      meta: { title: '编辑商品', noCache: true }
    }
  ]
}
export default listRoutes
